package com.sdk.sdkstarteruser;

import com.sdk.sdkspringbootstarter.SdkService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
public class SdkStarterUserApplication implements CommandLineRunner {

    @Autowired
    private SdkService sdkService;
    public static void main(String[] args) {
        SpringApplication.run(SdkStarterUserApplication.class, args);
    }

    @Override
    public void run(String... args) throws Exception {
        System.out.println(sdkService.getSdkProperties().getMessage());
    }
}
